/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hcht.xrlh.drhis.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 随机抽取历史Entity
 * @author lrz
 * @version 2016-12-26
 */
public class DrHis extends DataEntity<DrHis> {
	
	private static final long serialVersionUID = 1L;
	private String rwId;		// 任务ID
	private Long zfyys;		// 参与抽取的执法人员数
	private Long zfdxs;		// 参与抽取的执法对象数
	private String flag;		// flag
	
	public DrHis() {
		super();
	}

	public DrHis(String id){
		super(id);
	}

	@Length(min=0, max=64, message="任务ID长度必须介于 0 和 64 之间")
	public String getRwId() {
		return rwId;
	}

	public void setRwId(String rwId) {
		this.rwId = rwId;
	}
	
	public Long getZfyys() {
		return zfyys;
	}

	public void setZfyys(Long zfyys) {
		this.zfyys = zfyys;
	}
	
	public Long getZfdxs() {
		return zfdxs;
	}

	public void setZfdxs(Long zfdxs) {
		this.zfdxs = zfdxs;
	}
	
	@Length(min=0, max=1, message="flag长度必须介于 0 和 1 之间")
	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}
	
}